package run;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * @author zhangxian
 * @program: parent
 * @description:
 * @date 2022-04-12 14:58:44
 */
@SpringBootApplication
@EnableEurekaClient
public class ServiceCloudConfigBus3366Application {
    //使用了spring-boot-starter-actuator 以及 spring-cloud-starter-bus-amqp（结合了rabbitmq） 来做配置自动刷新
    //刷新先要出发config中心刷新配置 curl -X POST "http://localhost:3344/actuator/bus-refresh"
    public static void main(String[] args) {
        SpringApplication.run(ServiceCloudConfigBus3366Application.class,args);
    }
}
